package com.ruoyi.system.service.impl;

import com.ruoyi.system.domain.TCarport;
import com.ruoyi.system.domain.TWatergate;
import com.ruoyi.system.mapper.TWatergateMapper;
import com.ruoyi.system.service.ITWatergateService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author Xiexingxie
 * @date 2022/12/8 下午 03:32
 */

@Service
public class TWatergateServiceImpl implements ITWatergateService {

    
    @Autowired
    private TWatergateMapper tWatergateMapper;
    
    
    @Override
    public List<TWatergate> getWatergateList(TWatergate tWatergate) {
        return tWatergateMapper.getWatergateList(tWatergate);
    }

    @Override
    public TWatergate selectTWatergateById(Integer wid) {
        return tWatergateMapper.selectTWatergateById(wid);
    }

    @Override
    public int insertTWatergate(TWatergate tWatergate) {
        return tWatergateMapper.insertTWatergate(tWatergate);
    }

    @Override
    public int updateTWatergate(TWatergate tWatergate) {
        return tWatergateMapper.updateTWatergate(tWatergate);
    }

    @Override
    public int deleteTWatergateByIds(Long[] ids) {
        return tWatergateMapper.deleteTWatergateByIds(ids);
    }

    @Override
    public int deleteTWatergateById(Long wid) {
        return tWatergateMapper.deleteTWatergateById(wid);
    }
}
